package com.lin.dataobject;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.lin.utils.serializer.Date2LongSerializer;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by Administrator on 2017/9/25.
 */
@Data
@Entity
@Table(name = "update_log")
public class UpdateLog {
    @Id
    private Integer id;

    private String name;

    private String version;

    private String illustrate;

    @JsonSerialize(using = Date2LongSerializer.class)
    private Date createTime;

    private String createName;
}
